Skip to content

Fix playlist playback order when played from the playlists page - #2202

Closed
trumblejoe wants to merge 3 commits into
damontecres:mainfrom
trumblejoe:fix/playlist-play-order
Closed

trumblejoe wants to merge 3 commits into
damontecres:mainfrom
trumblejoe:fix/playlist-play-order

Conversation

@trumblejoe

@trumblejoe trumblejoe commented Nov 10, 2026 •

Copy link
Copy Markdown

Description

Playing a playlist from the top-level playlist page would sort the underlying playlist contents by name, and play the first item by name, not from the watch-order. This PR fixes that issue so pressing play on the playlist item itself now plays the watch-order playlist; the same as opening the playlist and pressing the Play button inside of it. Also, I added support for remotes because TV's use remotes.
It now plays the next unwatched item on the playlist as it should.

Confirmation Steps

Open the Wholphin app prior to this fix, press play on a playlist item, watch it play the wrong episode. Then check this feature fix and and see that it plays the correct item from the playlist.

Related Issues

I opened one a few days ago, can't find it now.

Testing

Tested on my fire tv stick 4k max v2 with a forked apk.

Screenshots

N/A

AI or LLM usage

AI coding assistance with Claude Code writing the changes in those files listed there.

  • app/src/main/java/com/github/damontecres/wholphin/data/model/BaseItem.kt
  • app/src/main/java/com/github/damontecres/wholphin/services/PlaylistCreator.kt
  • app/src/main/java/com/github/damontecres/wholphin/ui/playback/PlaybackViewModel.kt

trumblejoe and others added 3 commits November 10, 2026 10:40
Playing a playlist from the playlists library (or anywhere that plays
the playlist item itself) used the default name sort, so items played
alphabetically instead of in the playlist's order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When playing a playlist item itself (not a chosen item inside it, and
not shuffled), skip the items already watched. If everything has been
watched, start from the beginning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pressing play on a playlist in the playlists library did nothing,
because playlists were not counted as playable. The context menu's
Play option already plays them, so the play button now does the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trumblejoe
trumblejoe marked this pull request as ready for review November 10, 2026 22:19
@trumblejoe

Copy link
Copy Markdown
Author

A similar approach as this here should fix the remote play button on poster views for series and movies too. I might send in another separate PR for that tomorrow if I can get to it, or next week when I'm back at home.

@damontecres

Copy link
Copy Markdown
Owner

I opened one a few days ago, can't find it now.

It's #2186, and we should discuss further there instead of this PR.

@trumblejoe

Copy link
Copy Markdown
Author

Closing this and revoking rights to my code. Reopen and implement my other PR's and this can be used. I'm not going to spend time writing complete features and bug fixes for them to be cherry-picked through without examination or evaluation when no other alternatives exist beyond maintaining a poor user experience or broken behavior status quo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants